package cn.ztydata.teachingsystem.heaven.entity.exercise;

import cn.ztydata.teachingsystem.heaven.entity.BaseEntity;

/**
 * 习题选项实体类
 * Created by wyh on 2015/2/4.
 */
public class ExerciseOption extends BaseEntity {
    private Long id;//ID
    private Long exerciseId;//习题ID
    private String option;//选项内容（判断题为""）
    private Integer isRight;//是否正确答案，0：不是，1：是（判断题时表示对错，0：错，1：对）

    private Integer choice; //是否被选择，0：没有，1：有（判断题时表示对错，0：错，1：对）

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getExerciseId() {
        return exerciseId;
    }

    public void setExerciseId(Long exerciseId) {
        this.exerciseId = exerciseId;
    }

    public String getOption() {
        return option;
    }

    public void setOption(String option) {
        this.option = option;
    }

    public Integer getIsRight() {
        return isRight;
    }

    public void setIsRight(Integer isRight) {
        this.isRight = isRight;
    }

    public Integer getChoice() {
        return choice;
    }

    public void setChoice(Integer choice) {
        this.choice = choice;
    }
}
